#ifndef GX_FR_EDITOR_MATERIAL_H
#define GX_FR_EDITOR_MATERIAL_H

#include "Material.h"
#include "LibGL/GxTextures.h"

namespace FinalRendering
{
	namespace Editor
	{
		using namespace GxLibBasic;

		class EditorMaterial : public Object
		{
		private:
			RefPtr<GxRendering::Texture> texture;
		public:
			void Load(const String &matPath, const String & fileName, bool upload = true);
			void Bind();
			GxRendering::Texture * GetTexture();
			EditorMaterial();
		};
	}
}

#endif